<!--
 * @Author: your name
 * @Date: 2021-08-16 16:37:30
 * @LastEditTime: 2021-08-16 19:00:00
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\3-html&css\day11\west\11-重写西游记.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body>div {
            width: 100%;
            height: 800px;
            background-image: url('./bg.jpg');
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            animation: move 20s infinite;
        }
        
        @keyframes move {
            from {
                background-position: 0px 0px;
            }
            to {
                background-position: 1900px 0px;
            }
        }
        
        body>div>div {
            height: 25%;
            width: 12.5%;
            overflow: hidden;
            /* background-color: blueviolet; */
        }
        
        body>div>div>img {
            width: 1600px;
            height: 100%;
            animation: walk 1s infinite steps(8);
        }
        
        @keyframes walk {
            from {}
            to {
                margin-left: -1600px;
            }
        }
    </style>
</head>

<body>
    <div>
        <div>
            <img src="./wk.png" alt="">
        </div>
        <div>
            <img src="./bj.png" alt="">
        </div>
        <div>
            <img src="./ts.png" alt="">
        </div>
        <div>
            <img src="./ss.png" alt="">
        </div>
    </div>
</body>

</html>